package com.nd.pojo.vo;

import lombok.Builder;

import java.util.List;

/**
 * @program: project2mall
 * @description: 暂未发现用处的用户模块 /admin/role/options
 * @author: shit_code_builder
 * @create: 2021-06-04 20:33
 **/

public class AdministratorsOptionVO extends ErrorAndErrno<List<AdministratorsOptionVO.DataBean>>{

    /**
     * errno : 0
     * data : [{"value":1,"label":"超级管理员"},{"value":2,"label":"商场管理员"},{"value":3,"label":"推广管理员"},{"value":10,"label":"普通用户"},{"value":11,"label":"测试用户-A"},{"value":12,"label":"test"},{"value":13,"label":"这个逻辑是不是点问题啊"},{"value":14,"label":"测试"}]
     * errmsg : 成功
     */

    private long errno;

    private String errmsg;

    private List<AdministratorsOptionVO.DataBean> data;

    @Override
    public String getErrmsg() {
        return errmsg;
    }
    @Override
    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }
    @Override
    public long getErrno() {
        return errno;
    }
    @Override
    public void setErrno(long errno) {
        this.errno = errno;
    }
    @Override
    public List<AdministratorsOptionVO.DataBean> getData() {
        return data;
    }
    @Override
    public void setData(List<AdministratorsOptionVO.DataBean> data) {
        this.data = data;
    }
    @Builder
    public static class DataBean {
        /**
         * value : 1
         * label : 超级管理员
         */

        private int value;
        private String label;

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }
    }
}
